<?php

namespace app\common\model;

use think\Model;

class OrderInfo extends Model
{
    protected $name = 'order_info';

    //
    public function find($where){
        return db($this->name)->where($where)->find();
    }

	//修改订单状态
	public function update_data($where,$data){
        return OrderInfo::where($where)->update($data);
    }

    

}